//
// Created by zy on 2020/6/19.
//

#ifndef C__LEARNANDDATASTRUCT_QUEUELEARN_H
#define C__LEARNANDDATASTRUCT_QUEUELEARN_H

struct QueueRecord;
typedef struct QueueRecord *Queue;

int IsEmpty(Queue queue);

int isFull(Queue queue);

Queue CreateQueue(int MaxElements);

void DisposeQueue(Queue queue);

void MakeEmpty(Queue queue);

//void Enqueue(ElementType X, Queue queue);


#endif //C__LEARNANDDATASTRUCT_QUEUELEARN_H
struct QueueRecord {
    int Capacity;
    int Front;
    int Rear;
    int Size;
//    ElementType *Array;
};